package ru.ksu.ktk.diploma.sdi.dao;

import java.io.File;
import java.util.List;

import ru.ksu.ktk.diploma.sdi.dao.model.ResourceModel;

import com.hp.hpl.jena.ontology.OntModel;

public interface ResourcesDao {
	/**
	 * get ontology model with given URI
	 * 
	 * @param uri URI of ontology model resource
	 * @return
	 */
	OntModel get(String uri); 
	/**
	 * save file as resource according to given URI 
	 * 
	 * @param uri URI 
	 * @param file binary data
	 */
	void save(String uri, String resourceName, File file);
	/**
	 * get resources list of exist-collection with given URI  
	 * 
	 * @param uri URI 
	 * @return
	 */
	List<ResourceModel> getList(String uri);

}